﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<Ditto.Models.Friends>" %>

<div>
<h3>Friends (<%: Model.Count().ToString() %>)</h3>
<% foreach (var user in Model)
   {
       Html.RenderPartial("UserSummary", user);
   } %>

           <% if (Model.Count() == 0) { %>
        <div class="summary">
           <strong>Find friends</strong> feature coming soon!
        </div>
        <% } %>
</div>